package com.ir.stat.spark.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class DatasetStat implements Serializable {

    private String id;

    private String name;

    private String format;

    private String path;

    private List<Map> fields;

    private long records;

    private long size;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public long getRecords() {
        return records;
    }

    public void setRecords(long records) {
        this.records = records;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public List<Map> getFields() {
        return fields;
    }

    public void setFields(List<Map> fields) {
        this.fields = fields;
    }

    @Override
    public String toString() {
        return "DatasetStat{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", format='" + format + '\'' +
                ", path='" + path + '\'' +
                ", fields=" + fields +
                ", records=" + records +
                ", size=" + size +
                '}';
    }
}
